<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8" name="viewport" content="width=device-width,initial-scale=1.0,user-scalable=no">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <title>我们的小窝-聊天室</title>
    <link rel="stylesheet" href="css/bootstrap.css">
    <link rel="stylesheet" href="css/bootstrap.min-3.3.7-blue.css">
    <link rel="stylesheet" href="css/style.css">
    <style>
        h2{
            margin-top: 1em;
        }
    </style>
</head>
<body>
<!--导航-->
<nav class="navbar navbar-default navbar-fixed-top">
    <!--小屏幕按钮和logo-->
    <div class="container">
        <div class="navbar-header">
            <button class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
            </button>
            <a href="index.html" class="navbar-brand">我们的小窝</a>
        </div>
        <!--小屏幕按钮和logo-->

        <div class="navbar-collapse collapse navbar-right">
            <ul class="nav navbar-nav">
                <li><a href="index.html"><span class="glyphicon glyphicon-home"></span>首页</a></li>
                <li><a href="articleList.html"><span class="glyphicon glyphicon-list-alt"></span>博文列表</a></li>
                <li class="active"><a href="chat.html"><span class="glyphicon glyphicon-heart"></span>聊天室</a></li>
                <li><a href="music.html"><span class="glyphicon glyphicon-music"></span>音乐天地</a></li>
                <!--<li style="padding: 5px"><a style="padding: 0"><button id="loginBtn" class="btn btn-success"><span class="glyphicon glyphicon-user"></span>登录/注册</button></a></li>-->
                <!--登录后显示用户名-->
                <li class="btn-success"><a href="userData.html"><span class="glyphicon glyphicon-user"></span>张晓宇</a></li>
            </ul>
        </div>
    </div>
</nav>
<!--导航-->

<div class="container">
    <div class="row">
        <article id="chat" class="col-md-9">
            <div class="page-header">
                <h2>欢迎<strong>智者</strong>来到聊天室</h2>
            </div>
            <div class=" col-md-12 chatWindow">
                <div class="col-md-3">
                    <div class="note">
                        <div class="panel panel-danger">
                            <div class="panel-heading">
                                <h3 class="panel-title">通知公告</h3>
                            </div>
                            <div class="panel-body">
                                <div class="alert alert-danger alert-dismissible" role="alert">
                                    <button type="button" class="close" data-dismiss="alert" aria-label="Close"><span aria-hidden="true">&times;</span></button>
                                    <strong>重要通知!</strong> 还未发表
                                </div>
                                大家好，网站正在建设中，请稍后。。。
                            </div>
                        </div>
                    </div>
                    <div class="userList">
                        <div class="panel panel-primary">
                            <div class="panel-heading">当前在线用户</div>
                            <ul class="list-group">
                                <li class="list-group-item cf"><img class="img-responsive icon32r" src="img/user_zhizhe.jpg">智者</li>
                                <li class="list-group-item cf"><img class="img-responsive icon32r" src="img/user_shenlukun.jpg">杀手</li>
                                <li class="list-group-item cf"><img class="img-responsive icon32r" src="img/user_liqian.jpg">谦谦</li>
                                <li class="list-group-item cf"><img class="img-responsive icon32r" src="img/user_futhead.jpg">futhead</li>
                                <li class="list-group-item cf"><img class="img-responsive icon32r" src="img/user_liuyizhong.jpg">黑洞栀子</li>
                                <li class="list-group-item cf"><img class="img-responsive icon32r" src="img/user_daoke.jpg">关中刀客</li>
                            </ul>
                        </div>

                    </div>
                </div>
                <div class="col-md-9 message">
                    <div class="chatContent">
                        <ul id="myTabs" class="nav nav-tabs" role="tablist">
                            <li role="presentation" class="active"><a href="#receive" id="home-tab" role="tab" data-toggle="tab" aria-controls="home" aria-expanded="true">聊天</a></li>
                            <li role="presentation"><a href="#profile" role="tab" id="profile-tab" data-toggle="tab" aria-controls="profile">文件</a></li>
                            <li role="presentation"><a href="#game" role="tab" id="game-tab" data-toggle="tab" aria-controls="profile">游戏</a></li>
                        </ul>
                        <div id="receive" class="receive">
                            <ul class="list-group">
                                <li class="list-unstyled cf">
                                    <img class="img-responsive icon32r" src="img/user_shenlukun.jpg">
                                    <span class="username">杀手</span>
                                    <br><div class="content">清明节我回家了</div>
                                </li>
                                <li class="list-unstyled cf">
                                    <img class="img-responsive icon32r" src="img/user_liuyizhong.jpg">
                                    <span class="username">黑洞栀子</span>
                                    <br><div class="content">啥时候回来</div>
                                </li>
                                <li class="list-unstyled cf me">
                                    <img class="img-responsive icon32r pull-right" src="img/user_zhizhe.jpg">
                                    <div class="content pull-right">明天一块去龙泉寺吧？</div>
                                </li>
                                <li class="list-unstyled cf">
                                    <img class="img-responsive icon32r" src="img/user_liqian.jpg">
                                    <span class="username">谦谦</span>
                                    <br><div class="content">能带上我和现任女友吗？</div>
                                </li>
                                <li class="list-unstyled cf">
                                    <img class="img-responsive icon32r" src="img/user_futhead.jpg">
                                    <span class="username">futhead</span>
                                    <br><div class="content">来西安带你们去看亚洲第一喷泉 :)</div>
                                </li>
                                <li class="list-unstyled cf">
                                    <img class="img-responsive icon32r" src="img/user_daoke.jpg">
                                    <span class="username">futhead</span>
                                    <br><div class="content">好的，明天早上8点半我在海边等你们O(∩_∩)O~</div>
                                </li>

                            </ul>
                        </div>
                        <div class="tools">
                            <span class="glyphicon glyphicon-font"></span>
                            <span class="glyphicon glyphicon-search"></span>
                            <span class="glyphicon glyphicon-picture"></span>
                        </div>
                        <div class="send">
                            <form action="#">
                                <div class="form-group">
                                    <textarea class="form-control" rows="5" ></textarea>
                                </div>
                                    <input class="btn btn-success pull-right" type="submit" value="发 送">
                            </form>
                        </div>
                    </div>

                </div>
            </div>
        </article>
        <aside class="col-md-3">
            <div class="panel panel-primary">
                <div class="panel-heading">热门文章</div>
                <ul class="list-group">
                    <li class="list-group-item cf"><a href="articleDetail.html"><span class="glyphicon glyphicon-list-alt"></span>CSS中边距margin合并（折叠）问题总结</a> <span class="pull-right">2017/01/01</span></li>
                    <li class="list-group-item cf"><a href="articleDetail2.html"><span class="glyphicon glyphicon-list-alt"></span>滕王阁序【转】</a> <span class="pull-right">2017/01/01</span></li>
                    <li class="list-group-item cf"><a href=""><span class="glyphicon glyphicon-list-alt"></span>雾霾里面找蓝天</a> <span class="pull-right">2017/01/01</span></li>
                    <li class="list-group-item cf"><a href=""><span class="glyphicon glyphicon-list-alt"></span>念佛心得</a> <span class="pull-right">2017/01/01</span></li>
                    <li class="list-group-item cf"><a href=""><span class="glyphicon glyphicon-list-alt"></span>PHP学习笔记</a> <span class="pull-right">2017/01/01</span></li>
                </ul>
            </div>
        </aside>
    </div>
</div>
<div id="bgMusic">
    <audio autoplay controls loop src="">
        <div class="alert alert-danger alert-dismissible" role="alert">
            <button type="button" class="close" data-dismiss="alert" aria-label="Close"><span aria-hidden="true">&times;</span></button>
            <strong>您的浏览器不支持背景音乐播放，请升级浏览器！</strong>
        </div>
    </audio>
</div>


<footer id="footer" class="btn-primary">
    <div class="container-fluid">
        <div class="row">
            <div class="col-md-12">
                <p>Copyright © 2012-2015&nbsp;&nbsp;<br class="visible-xs">http://e-art.taobao.com&nbsp;&nbsp;<br
                        class="visible-xs">鲁ICP备12345678号-4&nbsp;&nbsp;</p>
            </div>
        </div>
    </div>
</footer>

<script src="js/jquery-2.2.4.js"></script>
<script src="js/bootstrap.js"></script>
<script src="js/main.js"></script>
<script>
    $('#myTabs').find("a").click(function (e) {
        e.preventDefault();
        $(this).tab('show')
    })
</script>
</body>
</html>